package cn.wolfcode.crm.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

/**
* Created by Mybatis Generator on 2020/03/11
*/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Role extends BaseDomain{
    private String name;

    private String sn;

    //关联的many方对象
    private List<Permission> permissions = new ArrayList<>();
}